onCreateAnimation
Called when a fragment loads an animation. Note that if setCustomAnimations was called with Animator resources instead of Animation resources, nextAnim
will be an animator resource.
Parameters
transit
The value set in setTransition or 0 if not set.
enter
true
when the fragment is added/attached/shown or false
when the fragment is removed/detached/hidden.
nextAnim
The resource set in setCustomAnimations, setCustomAnimations, or 0 if neither was called. The value will depend on the current operation.